<?php
// 删除
include '../config.php';
$id=$_GET['id'];
$sql="delete from relation where id={$id}";
$mysqli->query($sql);

echo "<script>location='../index.php?action=infoIndex'</script>";
?>